from django.shortcuts import render_to_response
from picture.models import Image
from comment.models import Photo_Comment, About_Comment
from comment.forms import comment_form

def about(request):
    user = request.user
    comment = comment_form()
    comments = About_Comment.objects.all()
    return render_to_response("about.html", locals())

def photo(request):
    user = request.user
    images = Image.objects.all()
    comment = comment_form()
    comments = Photo_Comment.objects.all()
    return render_to_response("photo.html", locals())